package com.mapproject.industrymap.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mapproject.industrymap.entity.PersonalDataCatalogEntity;
import com.mapproject.industrymap.mapper.SysPersonalDataCatalogMapper;
import com.mapproject.industrymap.service.SysPersonalDataCatalogService;
import com.mapproject.industrymap.utils.ReturnValue;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class SysPersonalDataCatalogServiceImpl extends ServiceImpl<SysPersonalDataCatalogMapper, PersonalDataCatalogEntity>  implements SysPersonalDataCatalogService {
    @Autowired
    SysPersonalDataCatalogMapper sysPersonalDataCatalogMapper;
    public ReturnValue getPersonalDataCatalogInfo(String personallayer){
        QueryWrapper<PersonalDataCatalogEntity> queryWrapper=new QueryWrapper<>();
        List<Map<String, Object>> maps = sysPersonalDataCatalogMapper.selectMaps(queryWrapper);
        return new ReturnValue(200,"查询结果",maps);
    }
}

